package com.danskin.wechat.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.CustOrderEvaluate;
import com.danskin.wechat.entity.example.CustOrderEvaluateExample;
import com.danskin.wechat.util.Page;

public interface CustOrderEvaluateDao {

	    int countByExample(CustOrderEvaluateExample example);

	    int deleteByExample(CustOrderEvaluateExample example);

	    int deleteByPrimaryKey(Integer id);

	    int insert(CustOrderEvaluate record);

	    int insertSelective(CustOrderEvaluate record);

	    List<CustOrderEvaluate> selectByExample(CustOrderEvaluateExample example);

	    CustOrderEvaluate selectByPrimaryKey(Integer id);

	    int updateByExampleSelective(@Param("record") CustOrderEvaluate record, @Param("example") CustOrderEvaluateExample example);

	    int updateByExample(@Param("record") CustOrderEvaluate record, @Param("example") CustOrderEvaluateExample example);

	    int updateByPrimaryKeySelective(CustOrderEvaluate record);

	    int updateByPrimaryKey(CustOrderEvaluate record);
	    List<Map<String,Object>> listPageGetCustOrderEvaluate(Page page);

		List<CustOrderEvaluate> exportOrderEvaluate(@Param("name")String name, @Param("mobile")String mobile, @Param("orderNo")String orderNo, @Param("startTime")String startTime,
				@Param("endTime")String endTime, @Param("mpId")String mpId);
	}
